//
//  BGDateResult.h
//  bigMall
//
//  Created by LTOVE on 16/7/13.
//  Copyright © 2016年 thinklev. All rights reserved.
//

#import <Foundation/Foundation.h>
@class BGParam;
@interface BGDateResult : NSObject

/**
 *  获取手机验证码
 *
 *  @param code    图形验证码
 *  @param type    请求类型
 */
+ (void)getPhoneCodeWithPhoneNum:(NSString *)phoneNum andPicCode:(NSString *)code andType:(NSString *)type success:(void(^)(NSDictionary *dic))success failure:(void(^)(NSError *error))failure;
/**
 *  获取手机验证码需要登录
 *
 *  @param phoneNum 图形验证码
 *  @param type     请求类型
 */

+ (void)getPhoneCodeWithPhoneNim:(NSString *)phoneNum andType:(NSString *)type success:(void(^)(NSDictionary *dic))success failure:(void(^)(NSError *error))failure;
/**
 *  用户登录
 *
 *  @param userName 用户名
 *  @param pwd      密码
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)logininWithUserName:(NSString *)userName andPwd:(NSString *)pwd success:(void(^)(NSObject *result, NSString *status,NSString *msg))success failure:(void(^)(NSError *error))failure;
/**
 *  用户注册
 *
 *  @param userName userName description
 *  @param phone    phone description
 *  @param pwd      pwd description
 *  @param apwd     apwd description
 *  @param code     code description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)registerWithUserName:(NSString *)userName phone:(NSString *)phone pwd:(NSString *)pwd apwd:(NSString *)apwd phoneCode:(NSString *)code success:(void(^)(NSString *status,NSString *msg,NSString *user_id))success failure:(void(^)(NSError *error))failure;
/**
 *  退出登录
 *
 *  @param success success description
 *  @param failure failure description
 */
+ (void)loginOutSuccess:(void(^)(NSString *status,NSString *msg,NSString *res))success failure:(void(^)(NSError *error))failure;
/**
 *  获取用户信息
 *
 *  @param success success description
 *  @param failure failure description
 */
+ (void)getUserInfoSuccess:(void(^)(NSString *status,NSString *msg,NSDictionary *res))success failure:(void(^)(NSError *error))failure;
/**
 *  忘记登录密码
 *
 *  @param phone     phone description
 *  @param pwd       pwd description
 *  @param agapwd    agapwd description
 *  @param type      type description
 *  @param phoneCode phoneCode description
 *  @param success   success description
 *  @param failure   failure description
 */
+ (void)forgetLoginPwdWithPhone:(NSString *)phone andPwd:(NSString *)pwd andAgapwd:(NSString *)agapwd andType:(NSString *)type andPhoneCode:(NSString *)phoneCode success:(void(^)(NSString *status,NSString *msg,NSString *autoRes))success failure:(void(^)(NSError *error))failure;
/**
 *  忘记支付密码
 *
 *  @param phone     phone description
 *  @param pwd       pwd description
 *  @param agapwd    agapwd description
 *  @param type      type description
 *  @param phoneCode phoneCode description
 *  @param success   success description
 *  @param failure   <#failure description#>
 */
+ (void)forgetPayPwdWithPhone:(NSString *)phone andPwd:(NSString *)pwd andAgapwd:(NSString *)agapwd andType:(NSString *)type andPhoneCode:(NSString *)phoneCode success:(void(^)(NSString *status,NSString *msg,NSString *autoRes))success failure:(void(^)(NSError *error))failure;
/**
 *  修改登录密码
 *
 *  @param oldPwd  oldPwd description
 *  @param pwd     pwd description
 *  @param agapwd  agapwd description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)updateLoginPwdWithOldPwd:(NSString *)oldPwd andPwd:(NSString *)pwd andAgaPwd:(NSString *)agapwd success:(void(^)(NSString *status,NSString *msg,NSString *autoRes))success failure:(void(^)(NSError *error))failure;
/**
 *  修改支付密码
 *
 *  @param oldPayPwd oldPayPwd description
 *  @param pwd       pwd description
 *  @param agaPaypwd agaPaypwd description
 *  @param success   success description
 *  @param failure   failure description
 */
+ (void)updatePayPwdWithOldPayPwd:(NSString *)oldPayPwd andPwd:(NSString *)pwd andAgaPayPwd:(NSString *)agaPaypwd success:(void(^)(NSString *status,NSString *msg,NSString *autoRes))success failure:(void(^)(NSError *error))failure;
/**
 *  修改手机号
 *
 *  @param phoneNum  phoneNum description
 *  @param payPwd    payPwd description
 *  @param phoneCode phoneCode description
 *  @param success   success description
 *  @param failure   failure description
 */
+ (void)upDatePhoneWithPhone:(NSString *)phoneNum andPayPwd:(NSString *)payPwd andPhoneCode:(NSString *)phoneCode success:(void(^)(NSString *status,NSString *msg,NSString *autoRes))success failure:(void(^)(NSError *error))failure;
#warning 修改用户信息之用户头像

/**
 *  检查图形验证码
 *
 *  @param code    code description
 *  @param type    type description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)checkPicCodeWithCode:(NSString *)code andType:(NSString *)type success:(void(^)(NSString *status,NSString *msg,NSString *res))success failure:(void(^)(NSError *error))failure;
/**
 *  商品列表
 *
 *  @param catId    <#catId description#>
 *  @param province <#province description#>
 *  @param price    <#price description#>
 *  @param thisPage <#thisPage description#>
 *  @param pageNum  <#pageNum description#>
 *  @param success  <#success description#>
 *  @param failure  <#failure description#>
 */
+ (void)loadShopHomeDataWithCatId:(NSString *)catId province:(NSString *)province order:(NSString *)order thisPage:(NSString *)thisPage pageNum:(NSString *)pageNum success:(void(^)(NSObject *resultData))success failure:(void(^)(NSError *error))failure;
/**
 *  请求商品分类信息
 *
 *  @param level   level description
 *  @param key     key description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)loadFenLeiWithLevel:(NSString *)level key:(NSString *)key success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  请求地区列表
 *
 *  @param structure structure description
 *  @param success   success description
 *  @param failure   failure description
 */
+ (void)loadAreaWithStructure:(NSString *)structure success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  上平详情  商品详情
 *
 *  @param goodsId goodsId description
 *  @param success success description
 *  @param failure failure description
    返回的是需要的数据模型
 */
+ (void)loadGoodInfoWithGoodsId:(NSString *)goodsId success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  保证金挂单金额计算
 *
 *  @param type    type description
 *  @param type    type description
 *  @param money   money description
 *  @param objId   objId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)calculateMarginWithRole:(NSString *)role type:(NSString *)type money:(NSString *)money objId:(NSString *)objId success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  [42]信誉挂单信誉值计算
 *
 *  @param role    role description
 *  @param type    type description
 *  @param money   money description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)CalculateCreditWithRole:(NSString *)role type:(NSString *)type money:(NSString *)money success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  [44]增加阶梯价格
 *
 *  @param stepPrices stepPrices description
 *  @param result     result description
 *  @param failure    failure description
 */
+ (void)addStepPricesWithStepPrices:(NSArray *)stepPrices success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  67]获取阶梯价格[根据阶梯价格id]
 *
 *  @param ids     ids description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)getStepPriceWithIds:(NSString *)ids success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  [45]获得发布商品时的参数项
 *
 *  @param success success description
 *  @param failure failure description
 */
+ (void)getAddGoodsParamSuccess:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  [43]发布商品[step-1]
 *
 *  @param dic     dic description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)addGoodsStepOneWithPrameDic:(NSDictionary *)dic success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  [35]立即下单前根据属性影响价格
 *
 *  @param dic     dic description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)attrChangePricewithPrameDic:(NSDictionary *)dic success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  [26]添加关注
 *
 *  @param type    type description
 *  @param objId   objId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)addCollectWithType:(NSString *)type objId:(NSString *)objId success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;

/**
 *  [83]查看某一事物是否被关注过
 *
 *  @param type    type description
 *  @param objId   objId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)checkCollectWithType:(NSString *)type objId:(NSString *)objId success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  [25]取消关注
 *
 *  @param ids     ids description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)cancelCollectWithId:(NSString *)ids success:(void(^)(NSObject *result))success failure:(void(^)(NSError *error))failure;
/**
 *  [63]我发布的招标列表
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownInviteListWithThisPage:(NSString *)thisPage
                          pageNum:(NSString *)pageNum
                          success:(void(^)(NSObject *result))success
                          failure:(void(^)(NSError *error))failure;
/**
 *  65]我发布的招标下架
 *
 *  @param invireld invireld description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownInviteDownWithInviteld:(NSString *)invireld
                          success:(void(^)(NSObject *result))success
                          failure:(void(^)(NSError *error))failure;
/**
 *  [69]获取某个招标的投标记录
 *
 *  @param thisPage thisPage description
 *  @param tageNum  tageNum description
 *  @param inviteld inviteld description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownInviteBidLogsWithThisPage:(NSString *)thisPage
                             pageNum:(NSString *)tageNum
                            inviteld:(NSString *)inviteld
                             success:(void(^)(NSObject *result))success
                             failure:(void(^)(NSError *error))failure;
/**
 *  [36]商品分类属性
 *
 *  @param catId   catId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)categoryAttrWithCatId:(NSString *)catId
                      success:(void(^)(NSObject *result))success
                      failure:(void(^)(NSError *error))failure;
/**
 *  [70]对某个投标接受或拒绝
 *
 *  @param inviteld inviteld description
 *  @param bidId    bidId description
 *  @param reply    reply description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)replyBidWithInviteld:(NSString *)inviteld
                       bidId:(NSString *)bidId
                       reply:(NSString *)reply
                     success:(void(^)(NSObject *result))success
                     failure:(void(^)(NSError *error))failure;
/**
 *  [71]发布招标[step-1]
 *
 *  @param dic     dic description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)addInviteOneWithParam:(NSDictionary *)dic
                      success:(void(^)(NSObject *result))success
                      failure:(void(^)(NSError *error))failure;
/**
 *  [72]发布招标[step-2]
 *
 *  @param dic     dic description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)addInviteTwoWithParam:(NSDictionary *)dic
                      success:(void(^)(NSObject *result))success
                      failure:(void(^)(NSError *error))failure;
/**
 *  19]我的资金记录
 *
 *  @param thisPage thisPage description
 *  @param pagNum   pagNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownFundListWithThisPage:(NSString *)thisPage
                        pageNum:(NSString *)pagNum
                        success:(void(^)(NSObject *result))success
                        failure:(void(^)(NSError *error))failure;
/**
 *  [82]我的资金
 *
 *  @param success success description
 *  @param failure failure description
 */
+ (void)ownFundSuccess:(void(^)(NSObject *result))success
               failure:(void(^)(NSError *error))failure;
/**
 *  [20]我的信誉记录
 *
 *  @param thisPage thisPage description
 *  @param pagNum   pagNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownCreditListWithThisPage:(NSString *)thisPage
                        pageNum:(NSString *)pagNum
                        success:(void(^)(NSObject *result))success
                        failure:(void(^)(NSError *error))failure;
/**
 *  [40]我当前的信誉
 *
 *  @param success success description
 *  @param failure failure description
 */
+ (void)ownCreditSuccess:(void(^)(NSObject *))success
               failure:(void(^)(NSError *error))failure;
/**
 *  [41]更新用户信誉
 *
 *  @param type     type description
 *  @param objectId objectId description
 *  @param creatId  creatId description
 *  @param remark   remark description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)updateCreditWithType:(NSString *)type
                    objectId:(NSString *)objectId
                     creadit:(NSString *)creatId
                      remark:(NSString *)remark
                     success:(void(^)(NSObject *result))success
                     failure:(void(^)(NSError *error))failure;
/**
 *  [24]我的关注列表(商品、招标和拍卖)
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param type     type description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownCollectListWithThisPage:(NSString *)thisPage
                           pageNum:(NSString *)pageNum
                              type:(NSString *)type
                           success:(void(^)(NSObject *result))success
                           failure:(void(^)(NSError *error))failure;
/**
 *  [15]我的站内信列表
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param type     type description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownMessageListWithThisPage:(NSString *)thisPage
                           pageNum:(NSString *)pageNum
                              type:(NSString *)type
                           success:(void(^)(NSObject *result))success
                           failure:(void(^)(NSError *error))failure;
/**
 *  [16]发送站内信
 *
 *  @param to      to description
 *  @param toType  toType description
 *  @param title   title description
 *  @param cont    cont description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)sendMessageWithTo:(NSString *)to
                   toType:(NSString *)toType
                    title:(NSString *)title
                     cont:(NSString *)cont
                  success:(void(^)(NSObject *result))success
                  failure:(void(^)(NSError *error))failure;
/**
 *  [17]删除站内信
 *
 *  @param idStr   idStr description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)deleteMessageWithIdStr:(NSString *)idStr
                       success:(void(^)(NSObject *result))success
                       failure:(void(^)(NSError *error))failure;
/**
 *  [22]我的委托列表
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)owmSadListWithThisPage:(NSString *)thisPage
                       pageNum:(NSString *)pageNum
                          type:(NSString *)typeStr
                       success:(void(^)(NSObject *result))success
                       failure:(void(^)(NSError *error))failure;
/**
 *  [23]删除我的委托
 *
 *  @param idstr   idstr description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)deleteOwmSadWithIdstr:(NSString *)idstr
                      success:(void(^)(NSObject *result))success
                      failure:(void(^)(NSError *error))failure;
/**
 *  	[53]投标记录
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownBidLogWithThisPage:(NSString *)thisPage
                      pageNum:(NSString *)pageNum
                      success:(void(^)(NSObject *result))success
                      failure:(void(^)(NSError *error))failure;
/**
 *  [54]撤销投标
 *
 *  @param idStr   idStr description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)cancelBidWithIdstr:(NSString *)idStr
             success:(void(^)(NSObject *result))success
             failure:(void(^)(NSError *error))failure;
/**
 *  [48]我发布的商品列表
 *
 *  @param order     order description
 *  @param thisPagee thisPagee description
 *  @param pageNum   pageNum description
 *  @param success   success description
 *  @param failure   failure description
 */
+ (void)ownGoodsListOrder:(NSString *)order
                 thisPage:(NSString *)thisPagee
                  pageNum:(NSString *)pageNum
                  success:(void(^)(NSObject *result))success
                  failure:(void(^)(NSError *error))failure;
/**
 *  [49]我发布的商品详情
 *
 *  @param goodsId goodsId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)ownGoodsDetailWithGoodsId:(NSString *)goodsId
                          success:(void(^)(NSObject *result))success
                          failure:(void(^)(NSError *error))failure;
/**
 *  [50]我发布的商品下架
 *
 *  @param goodsId goodsId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)ownGoodsDownWithGoodsId:(NSString *)goodsId
                        success:(void(^)(NSObject *result))success
                        failure:(void(^)(NSError *error))failure;
/**
 *  [52]我发布的商品删除
 *
 *  @param goodsId goodsId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)ownGoodsDelWithGoodsId:(NSString *)goodsId
                       success:(void(^)(NSObject *result))success
                       failure:(void(^)(NSError *error))failure;
/**
 *  [46]发布商品[step-2]
 *
 *  @param paramDic paramDic description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)addGoodsStepTwoWithParamDic:(NSDictionary *)paramDic
                            success:(void(^)(NSObject *result))success
                            failure:(void(^)(NSError *error))failure;
/**
 *  [47]发布商品[step-3]
 *
 *  @param objectID    objectID description
 *  @param checkReport checkReport description
 *  @param success     success description
 *  @param failure     failure description
 */
+ (void)addGoodsStepThreeWithObjectId:(NSString *)objectID
                          checkREport:(NSString *)checkReport
                              success:(void(^)(NSObject *result))success
                              failure:(void(^)(NSError *error))failure;
/**
 *  [55]卖家订单列表
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param type     type description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)sellerOrderListWithThisPage:(NSString *)thisPage
                            pageNum:(NSString *)pageNum
                               type:(NSString *)type
                            success:(void(^)(NSObject *result))success
                            failure:(void(^)(NSError *error))failure;
/**
 *  [56]卖家订单详情
 *
 *  @param orderId orderId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)sellerOrderDetailWithOrderId:(NSString *)orderId
                             success:(void(^)(NSObject *result))success
                             failure:(void(^)(NSError *error))failure;
/**
 *  [48-74]买家订单列表
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param type     type description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)buyerOrderListWithThisPage:(NSString *)thisPage
                           pageNum:(NSString *)pageNum
                              type:(NSString *)type
                           success:(void(^)(NSObject *result))success
                           failure:(void(^)(NSError *error))failure;
/**
 *  [48-75]买家订单详情
 *
 *  @param ordeId  ordeId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)buyerOrderDetailWithOrderId:(NSString *)ordeId
                            success:(void(^)(NSObject *result))success
                            failure:(void(^)(NSError *error))failure;
/**
 *  [27-21]提交认证信息
 *
 *  @param dic     dic description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)submitAuthInfoWithParamDic:(NSDictionary *)dic
                           success:(void(^)(NSObject *result))success
                           failure:(void(^)(NSError *error))failure;

/**
 *  [52-57]卖家订单步骤
 *
 *  @param dic     BGBuyerOrderStepParam模型
 *  @param success success description
 *  @param failure failure description
 */
+ (void)sellerOrderStepWithParamDic:(NSDictionary *)dic
                           success:(void(^)(NSObject *result))success
                           failure:(void(^)(NSError *error))failure;
/**
 *  [13-58]验证支付密码&(金额|信誉)
 *
 *  @param passWord passWord description
 *  @param cash     cash description
 *  @param credit   credit description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)checkPayPasswordCashCreditWithPayPassWord:(NSString *)passWord
                                             cash:(NSString *)cash
                                           credit:(NSString *)credit
                                          success:(void(^)(NSObject *result))success
                                          failure:(void(^)(NSError *error))failure;
/**
 *  [48-84]买家订单步骤
 *
 *  @param dic     BGBuyerOrderStepParam模型
 *  @param success success description
 *  @param failure failure description
 */
+ (void)buyerOrderStepWithParamDic:(NSDictionary *)dic
                            success:(void(^)(NSObject *result))success
                            failure:(void(^)(NSError *error))failure;
/**
 *  [10-73]根据图片id集合返回图片所有信息
 *
 *  @param ids     ids description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)getImageInfoWithIds:(NSString *)ids
                    success:(void(^)(NSObject *result))success
                    failure:(void(^)(NSError *error))failure;
/**
 *  [44-61]我的评价列表
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownAppraiseListWithThisPage:(NSString *)thisPage
                            pageNum:(NSString *)pageNum
                            success:(void(^)(NSObject *result))success
                            failure:(void(^)(NSError *errot))failure;
/**
 *  [45-62]我的拍卖列表(买家参与的)
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownAuctionWithThisPage:(NSString *)thisPage
                            pageNum:(NSString *)pageNum
                            success:(void(^)(NSObject *result))success
                            failure:(void(^)(NSError *errot))failure;
/**
 *  [38-76]招标列表
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)inviteListWithThisPage:(NSString *)thisPage
                         catId:(NSString *)catId
                     provience:(NSString *)provience
                         order:(NSString *)order
                       pageNum:(NSString *)pageNum
                       success:(void(^)(NSObject *result))success
                       failure:(void(^)(NSError *errot))failure;
/**
 *  [39-77]招标详情
 *
 *  @param invite  invite description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)loadinviteId:(NSString *)invite
             success:(void(^)(NSObject *result))success
             failure:(void(^)(NSError *error))failure;
/**
 *  41-78]拍卖列表
 *
 *  @param catId    catId description
 *  @param province province description
 *  @param price    price description
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)auctionListWithCatId:(NSString *)catId
                         province:(NSString *)province
                            order:(NSString *)order
                         thisPage:(NSString *)thisPage
                          pageNum:(NSString *)pageNum
                          success:(void(^)(NSObject *resultData))success
                          failure:(void(^)(NSError *error))failure;
/**
 *  [42-79]拍卖详情
 *
 *  @param invite  invite description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)auctionDetailWithAuctionId:(NSString *)invite
             success:(void(^)(NSObject *result))success
             failure:(void(^)(NSError *error))failure;
/**
 *  [19-18]修改头像
 *
 *  @param imgsrc  imgsrc description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)updateHeadPhotoWithimgsrc:(NSString *)imgsrc
                          success:(void(^)(NSObject *result))success
                          failure:(void(^)(NSError *error))failure;
/**
 *  判断是不是出价过
 *
 *  @param auctionId auctionId description
 *  @param success   success description
 *  @param failure   failure description
 */
+ (void)beforeAuctionWithAuctionId:(NSString *)auctionId
                           success:(void(^)(NSObject *result))success
                           failure:(void(^)(NSError *error))failure;
/**
 *  [43-81]买家出价
 *
 *  @param auctionID   auctionID description
 *  @param payPassword payPassword description
 *  @param magin       magin description
 *  @param price       price description
 *  @param success     success description
 *  @param error       error description
 */
+ (void)addAuctionLogWithAuvtionId:(NSDictionary *)dic
//                       payPassword:(NSString *)payPassword
//                             magin:(NSString *)magin
//                             price:(NSString *)price
                           success:(void(^)(NSObject *result))success
                           failure:(void(^)(NSError *error))failure;
/**
 *  [36-37]提交订单
 *
 *  @param paramDic paramDic description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)createOrderWithParamDic:(NSDictionary *)paramDic
                        success:(void(^)(NSObject *result))success
                        failure:(void(^)(NSError *error))failure;
/**
 *  [40-85]卖家投标
 *
 *  @param paramDic paramDic description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)sellerGoBidWithParamDic:(NSDictionary *)paramDic
                        success:(void(^)(NSObject *result))success
                        failure:(void(^)(NSError *error))failure;
/**
 *  [43-80]出价记录
 *
 *  @param auction  auction description
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)auctionLogListWithAuction:(NSString *)auction
                         thisPage:(NSString *)thisPage
                          pageNum:(NSString *)pageNum
                          success:(void(^)(NSObject *result))success
                          failure:(void(^)(NSError *error))failure;
/**
 *  	[39-90]投标记录
 *
 *  @param inviteId inviteId description
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)bidListWithInvitedId:(NSString *)inviteId
                    thisPage:(NSString *)thisPage
                     pageNum:(NSString *)pageNum
                     success:(void(^)(NSObject *result))success
                     failure:(void(^)(NSError *error))failure;
/**
 *  加载图片
 *
 *  @param url     <#url description#>
 *  @param success <#success description#>
 *  @param failure <#failure description#>
 */
+ (void)loadImagesWithUrl:(NSString *)url
                  success:(void(^)(NSObject *result))success
                  failure:(void(^)(NSError *error))failure;
/**
 *  [32-30]发布委托
 *
 *  @param dic     dic description
 *  @param success success description
 *  @param failure failure description
 */
+(void)addSadWithParamDic:(NSDictionary *)dic
                  success:(void(^)(NSObject *result))success
                  failure:(void(^)(NSError *erreo))failure;

/**
 *  [32-29]委托列表
 *
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)SadListWithThisPage:(NSString *)thisPage
                       pageNum:(NSString *)pageNum
                       type:(NSString *)type
                       success:(void(^)(NSObject *result))success
                       failure:(void(^)(NSError *error))failure;
/**
 *  50-51]我发布的商品退还保证金
 *
 *  @param goodsId goodsId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)returnMarginSellerWithGoosId:(NSString *)goodsId
                             success:(void(^)(NSObject *result))success
                             failure:(void(^)(NSError *error))failure;
/**
 *  [46-66]我发布的招标退还保证金
 *
 *  @param goodsId goodsId description
 *  @param success success description
 *  @param failure failure description
 */
+ (void)returnMarginBuyerWithGoosId:(NSString *)goodsId
                             success:(void(^)(NSObject *result))success
                             failure:(void(^)(NSError *error))failure;
/**
 *  [46-68]我发布的招标删除
 *
 *  @param inviteId inviteId description
 *  @param success  success description
 *  @param failure  failure description BGGoodInfoDataResult
 */
+ (void)ownInviteDelWithInviteId:(NSString *)inviteId
                         success:(void(^)(NSObject *result))success
                         failure:(void(^)(NSError *error))failure;
/**
 *  [46-64]我发布的招标详情
 *
 *  @param inviteId inviteId description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)ownInviteDetailsWithInviteId:(NSString *)inviteId
                             success:(void(^)(NSObject *result))success
                             failure:(void(^)(NSError *error))failure;
/**
 *  [33-31]公告
 *
 *  @param type     type description
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ ( void)noticeListWithType:(NSString *)type
                   thisPage:(NSString *)thisPage
                    pageNum:(NSString *)pageNum
                    success:(void(^)(NSObject *result))success
                    failure:(void(^)(NSError *error))failure;
/**
 *  [31-28]banner图
 *
 *  @param type     type description
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)imagesListWithType:(NSString *)type
                  thisPage:(NSString *)thisPage
                   pageNum:(NSString *)pageNum
                   success:(void(^)(NSObject *result))success
                   failure:(void(^)(NSError *error))failure;
/**
 *  [51-86]读取发布商品[step-2]
 *
 *  @param objectId objectId description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)readAddGoodsStepTwoWith:(NSString *)objectId
                        success:(void(^)(NSObject *result))success
                        failure:(void(^)(NSError *error))failure;
/**
 *  51-87]读取发布商品[step-3]
 *
 *  @param objectId objectId description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)readAddGoodsStepThreeWith:(NSString *)objectId
                        success:(void(^)(NSObject *result))success
                        failure:(void(^)(NSError *error))failure;



/**
 *  [15-60]根据用户名或手机号查找用户信息
 *
 *  @param ame    name
 *  @param phone   pnone
 *  @param success success
 *  @param failure failure
 */
+ (void)getgetInfoByName:(NSString *)name
                   pnone:(NSString *)phone
                 success:(void(^)(NSObject *result))success
                 failure:(void(^)(NSObject *error))failure;

/**
 *  [51-86]读取发布商品[step-2]修改版
 *
 *  @param objectId objectId description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)readAddGoodsStepModifyTwoWith:(NSString *)objectId
                        success:(void(^)(NSObject *result))success
                        failure:(void(^)(NSError *error))failure;

/**
 *  [53-89]获取文章分类结构
 *  @param {"module":"bigmall"}
 */
+ (void)getArticleCate:(NSString *)module
               success:(void(^)(NSObject *result))success
               failure:(void(^)(NSError *error))failure;
/**
 *  [53-96]获取文章列表
 *
 *  @param type     type description
 *  @param thisPage thisPage description
 *  @param pageNum  pageNum description
 *  @param success  success description
 *  @param failure  failure description
 */
+ (void)brandListWithType:(NSString *)type
                   thisPage:(NSString *)thisPage
                    pageNum:(NSString *)pageNum
                    success:(void(^)(NSObject *result))success
                    failure:(void(^)(NSError *error))failure;
/**
*  [33-97]品牌专区
*
*  @param thisPage thisPage description
*  @param pageNum  pageNum description
*  @param success  success description
*  @param failure  failure description
*/
+ (void)brandListWithThisPage:(NSString *)thisPage
                   pageNum:(NSString *)pageNum
                   success:(void(^)(NSObject *result))success
                   failure:(void(^)(NSError *error))failure;

@end

